package cn.java76.springboot.demo1.dao;

import cn.java76.springboot.demo1.entity.*;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * @author: Liu TianCi
 * @date: 2022/3/10 19:49
 * @description:
 */
public interface ORatationMapper {
    public int add(ORatation oRatation);
    public int update(ORatation oRatation);
    public int del(long id);
    public ORatation get(long id);
    public List<ORatation> find(@Param("pageNo") int pageNo, @Param("pageSize") int pageSize, @Param("title") String title, @Param("stardate") Date stardate, @Param("enddate") Date enddate);
    public int findTotal(@Param("title") String title, @Param("stardate") Date stardate, @Param("enddate") Date enddate);
}
